from pyecharts.charts import Bar
from  pyecharts import  options as  opts
x_data = ['[90~100]','[80~90)','[70~80)','[60~70)','[0~60)']
#设置Y轴坐标数据
y_data = [1,14,14,5,8]

#绘制柱形图
bar = {
    Bar()
    .add_xaxis(x_data)
}